package com.jadefashion.mapper;

import com.jadefashion.pojo.Member;
import org.apache.ibatis.annotations.Param;

public interface MemberMapper {

    Integer isNewMember(String phoneNum);

    void add(Member member);

    int findMemberCountByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);

    int totalMember();

    Member findMemberByTelephone(@Param("telephone") String telephone);

    Integer memberNumPerMonth(@Param("beginDate") String beginDate,@Param("endDate") String endDate);
}
